#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: twl
@date: 2022/4/14 10:05
@description:
"""
from base.constant.nacos_constants import *


class YmlInitLoad:
	@staticmethod
	def set_value_for_proactive_service(data, gol):
		'''
		设置配置
		:param data:
		:param gol:
		:return:
		'''
		# enable_job = data.get(ENABLE_JOB_KEY)
		# gol.set_value(ENABLE_JOB_KEY, enable_job)
		# merge_bg_img_compress_limit = data.get(MERGE_BG_IMG_COMPRESS_LIMIT_KEY)
		# gol.set_value(MERGE_BG_IMG_COMPRESS_LIMIT_KEY, merge_bg_img_compress_limit)
		# poster_score_limit = data.get(POSTER_SCORE_LIMIT_KEY)
		# gol.set_value(POSTER_SCORE_LIMIT_KEY, poster_score_limit)
		# task_stuck_hours_limit = data.get(TASK_STUCK_HOURS_LIMIT_KEY)
		# gol.set_value(TASK_STUCK_HOURS_LIMIT_KEY, task_stuck_hours_limit)
		# poster_crop_check_radio = data.get(POSTER_CROP_CHECK_RADIO_KEY)
		# gol.set_value(POSTER_CROP_CHECK_RADIO_KEY, poster_crop_check_radio)
		# neeko_admin_url = data.get(NEEKO_ADMIN_URL)
		# gol.set_value(NEEKO_ADMIN_URL, neeko_admin_url)
